<ng-tools-alert #alert [options]="alertOptions"></ng-tools-alert>
<form [formGroup]="bankForm">
  <div class="form-group row">
    <label for="alias" class="col-3 col-form-label text-right">银行ID</label>
    <div class="col-6">
      <input type="email" class="form-control form-control-sm" formControlName="id" id="alias"
      >
    </div>
  </div>

  <div class="form-group row">
    <label for="username" class="col-3 col-form-label text-right">银行名称</label>
    <div class="col-6">
      <input type="email" class="form-control form-control-sm" formControlName="bankName" id="username"
      >
    </div>
  </div>

  <div class="form-group row">
    <label for="cellphone_number" class="col-3 col-form-label text-right">开户名</label>
    <div class="col-6">
      <input type="tel" class="form-control form-control-sm" formControlName="userName" id="cellphone_number"
      >
    </div>
  </div>

  <div class="form-group row">
    <label for="number" class="col-3 col-form-label text-right">银行卡号</label>
    <div class="col-6">
      <input type="tel" class="form-control form-control-sm" formControlName="number" id="number"
      >
    </div>
  </div>

  <div class="form-group row">
    <label for="subAddr" class="col-3 col-form-label text-right">开户地址</label>
    <div class="col-6">
      <input type="tel" class="form-control form-control-sm" formControlName="subAddr" id="subAddr"
      >
    </div>
  </div>


  <div class="row">
    <div class="col-10 offset-1 text-center">
      <button type="button" class="btn btn-sm btn-teal w-50"
              [disabled]="!bankForm?.valid"
              (click)="save()">确定
      </button>
    </div>
  </div>
</form>